<!DOCTYPE html>
<html>
<head>
<title>README</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
/* Author: Nicolas Hery - http://nicolashery.com */
/* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */
/* Source: https://github.com/nicolahery/markdownpad-github */

/* RESET
=============================================================================*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* BODY
=============================================================================*/

body {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

body>*:first-child {
  margin-top: 0 !important;
}

body>*:last-child {
  margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/

p, blockquote, ul, ol, dl, table, pre {
  margin: 15px 0;
}

/* HEADERS
=============================================================================*/

h1, h2, h3, h4, h5, h6 {
  margin: 20px 0 10px;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  font-size: inherit;
}

h1 {
  font-size: 28px;
  color: #000;
}

h2 {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  color: #000;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  color: #777;
  font-size: 14px;
}

body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
  margin-top: 0;
  padding-top: 0;
}

a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
  margin-top: 0;
  padding-top: 0;
}

h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  margin-top: 10px;
}

/* LINKS
=============================================================================*/

a {
  color: #4183C4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LISTS
=============================================================================*/

ul, ol {
  padding-left: 30px;
}

ul li > :first-child, 
ol li > :first-child, 
ul li ul:first-of-type, 
ol li ol:first-of-type, 
ul li ol:first-of-type, 
ol li ul:first-of-type {
  margin-top: 0px;
}

ul ul, ul ol, ol ol, ol ul {
  margin-bottom: 0;
}

dl {
  padding: 0;
}

dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

dl dt:first-child {
  padding: 0;
}

dl dt>:first-child {
  margin-top: 0px;
}

dl dt>:last-child {
  margin-bottom: 0px;
}

dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

dl dd>:first-child {
  margin-top: 0px;
}

dl dd>:last-child {
  margin-bottom: 0px;
}

/* CODE
=============================================================================*/

pre, code, tt {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

code, tt {
  margin: 0 0px;
  padding: 0px 0px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

pre {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

pre code, pre tt {
  background-color: transparent;
  border: none;
}

kbd {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #DDDDDD;
    background-image: linear-gradient(#F1F1F1, #DDDDDD);
    background-repeat: repeat-x;
    border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
    border-image: none;
    border-radius: 2px 2px 2px 2px;
    border-style: solid;
    border-width: 1px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 10px;
    padding: 1px 4px;
}

/* QUOTES
=============================================================================*/

blockquote {
  border-left: 4px solid #DDD;
  padding: 0 15px;
  color: #777;
}

blockquote>:first-child {
  margin-top: 0px;
}

blockquote>:last-child {
  margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/

hr {
  clear: both;
  margin: 15px 0;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 4px solid #ddd;
  padding: 0;
}

/* TABLES
=============================================================================*/

table th {
  font-weight: bold;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 6px 13px;
}

table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}

table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/* IMAGES
=============================================================================*/

img {
  max-width: 100%
}
</style>
</head>
<body>
<p><link href="./docs/css/doc.css" rel="stylesheet"></link></p>
<h1>Bamboo Front End Demo &lt;1.0.0&gt;</h1>
<pre><code>本项目为前端框架DEMO，使用VueJS + Webpack搭建;
通过Vue.js框架，从而实现前端JS代码解耦、组件化;
通过Webpack进行项目前端部分的压缩、打包。

JS框架：Vue.js v1+, Redux
UI框架：Bootstrap v3+
构建工具：Webpack
其它：jQuery v3+, lodash v4+
基于移动端应用开发的框架（不兼容IE9以下，非现代浏览器）
</code></pre>

<h2>项目托管</h2>
<ul>
<li>使用SVN进行项目托管，（地址：http://code.taobao.org/svn/front-end-demo/）</li>
</ul>
<h2>运行环境</h2>
<ul>
<li>windows, linux, Mac OS X</li>
</ul>
<h2>打包操作</h2>
<ul>
<li>项目分为两个配置文件，分别为 <code>webpack.config.js</code> 和 <code>webpack-prod.config.js</code>；其中 <code>webpack-prod.config.js</code> 为发布生产环境的配置文件、<code>webpack.config.js</code> 为默认开发环境的配置文件</li>
<li>进入Node.js command界面，执行 <code>npm run build</code> 命令</li>
</ul>
<h2>开发流程</h2>
<ul>
<li>
<h3>安装指南</h3>
<ul>
<li>进入Node.js command界面，到package.json文件所在目录，执行 <code>npm install --save-dev</code> 命令</li>
<li>浏览器访问 http://localhost:8080</li>
<li>项目分为两个配置文件，分别为 <code>webpack.config.js</code> 和 <code>webpack-dev.config.js</code>，其中 <code>webpack-dev.config.js</code> 为开发环境的配置文件，运行切换到开发环境命令 <code>webpack --config webpack-dev.config.js</code></li>
</ul>
</li>
<li>
<h3>开发调试</h3>
<ul>
<li>进入Node.js command界面，执行 <code>npm run dev</code> 命令</li>
<li>注意：使用热替换功能时，必需确保 <code>build</code> 服务处于运行状态</li>
</ul>
</li>
</ul>
<h2>发布流程</h2>
<ul>
<li>打包命令为 <code>npm run publish</code> 命令</li>
<li>注意：打包过程中 <code>dist</code> 文件夹会被自动清空，所以确认 <code>dist</code> 内是否有文件需要保留，如果有请修改config配置内容</li>
</ul>
<h2>公共组件</h2>
<ul>
<li>slider</li>
<li>modal</li>
<li>uploadFile</li>
<li>radio</li>
<li>checkbox</li>
</ul>
<h2>开发描述</h2>
<ul>
<li><a href="./docs/the_vue_desc.html">VUE开发技术知识点概述</a></li>
<li>javascript编写参考<a href="http://www.tuicool.com/articles/BRviymF">ES6规范</a></li>
<li>javascript注释参考<a href="http://www.usejsdoc.org/" title="JSDoc">JSDoc</a></li>
<li>使用Sass编写CSS</li>
<li><a href="./docs/front_end_guide.docx">Bamboo前端开发规范</a></li>
</ul>
<h2>VUE插件</h2>
<ul>
<li><a href="http://router.vuejs.org/zh-cn/index.html">Vue Router</a> - 路由插件</li>
<li><a href="http://vuejs.github.io/vue-validator/zh-cn/index.html">Vue Validate</a> - 验证插件</li>
</ul>
<h2>第三方插件</h2>
<ul>
<li><a href="https://github.com/seiyria/bootstrap-slider/" title="bootstrap-slider">Bootstap-Slider</a> 基于bootstrap开发的slider输入控件</li>
<li><a href="http://blueimp.github.io/jQuery-File-Upload/">jQuery-File-Upload</a> 文件上传插件</li>
<li><a href="http://daneden.github.io/animate.css/" title="Animate.CSS">Animate.CSS</a> 第三方CSS动画库</li>
</ul>

</body>
</html>
<!-- This document was created with MarkdownPad, the Markdown editor for Windows (http://markdownpad.com) -->
